#include"ProgrBar.h"

void ProgrBar()
{
  char ProgrBar[MAX];
  memset(ProgrBar, '\0', sizeof(ProgrBar));

  char* str="-/|\\";
  int i=0;
  for(i=0; i< MAX; i++)
  {
    ProgrBar[i]= '#';
    printf("[%-100s][%-3d%%][%c]\r", ProgrBar, i, str[i%4]);
    fflush(stdout);

    usleep(30000);
  }
  
  system("clear");
  printf("加载成功\n");


}
